package com.ssm.dao;

import com.ssm.entity.Desk;

import java.util.List;

public interface DeskMapper {
    int deleteByPrimaryKey(Integer dId);

    int insert(Desk record);

    int insertSelective(Desk record);

    Desk selectByPrimaryKey(Integer dId);

    int updateByPrimaryKeySelective(Desk record);

    int updateByPrimaryKey(Desk record);

    /*删除多个学生，将学生对应的桌子（S_ID）置空*/
    int updateDeskSidToDeleteStudent(List<String> strings);
}